import * as tslib_1 from "tslib";
import { Entity, NgField, NgEntity } from '@farris/devkit';
var CwjsxxEntity = /** @class */ (function (_super) {
    tslib_1.__extends(CwjsxxEntity, _super);
    function CwjsxxEntity() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgField({
            originalDataField: 'ID',
            dataField: 'id',
            primary: true,
            originalDataFieldType: 'String',
            initValue: '',
            path: 'ID',
            validRules: [
                {
                    type: 'required',
                    constraints: [true],
                },
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "id", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Version',
            dataField: 'version',
            originalDataFieldType: 'DateTime',
            initValue: '0001-01-01T00:00:00',
            path: 'Version',
            enableTimeZone: true,
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "version", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'bzmc',
            dataField: 'bzmc',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'bzmc',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "bzmc", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'bzbh',
            dataField: 'bzbh',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'bzbh',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "bzbh", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'bzbz',
            dataField: 'bzbz',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'bzbz',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "bzbz", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'hlbh',
            dataField: 'hlbh',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'hlbh',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "hlbh", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'hlmc',
            dataField: 'hlmc',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'hlmc',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "hlmc", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'hlbz',
            dataField: 'hlbz',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'hlbz',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "hlbz", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'yhllbh',
            dataField: 'yhllbh',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'yhllbh',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "yhllbh", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'yhllmc',
            dataField: 'yhllmc',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'yhllmc',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "yhllmc", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'yhllbz',
            dataField: 'yhllbz',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'yhllbz',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "yhllbz", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'jsfsbh',
            dataField: 'jsfsbh',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'jsfsbh',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "jsfsbh", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'jsfsmc',
            dataField: 'jsfsmc',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'jsfsmc',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "jsfsmc", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'jsfsbz',
            dataField: 'jsfsbz',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'jsfsbz',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "jsfsbz", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'yhbh',
            dataField: 'yhbh',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'yhbh',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "yhbh", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'yhmc',
            dataField: 'yhmc',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'yhmc',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "yhmc", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'yhbz',
            dataField: 'yhbz',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'yhbz',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], CwjsxxEntity.prototype, "yhbz", void 0);
    CwjsxxEntity = tslib_1.__decorate([
        NgEntity({
            originalCode: "cwjsxx",
            nodeCode: "cwjsxxs",
            allowEmpty: true
        })
    ], CwjsxxEntity);
    return CwjsxxEntity;
}(Entity));
export { CwjsxxEntity };
